import request from "@/utils/request";

export function getPlayAuth(vid) {
  return request({
    url: '/video/auth?vid='+vid,
    method: 'get'
  })
}
export function saveEditVideo(params) {
  return request({
    url: '/video/saveUpdate',
    method: 'post',
    data:params
  })
}
export function findVideo(params) {
  return request({
    url: '/video/findOne/'+params,
    method: 'post',
  })
}
export function delVideo(params) {
  return request({
    url: '/video/delVideo/'+params,
    method: 'post',
  })
}
